package com.hdoit.apollo.logical.cargo.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.hdoit.apollo.logical.cargo.dao.IStandardUserDao;
import com.hdoit.apollo.logical.cargo.mapper.StandardUserMapper;
import com.hdoit.apollo.logical.cargo.model.StandardUser;
import com.tennetcn.data.dao.base.impl.SuperDao;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 11:02:07
 * @comment
 */
@Component
public class StandardUserDaoImpl extends SuperDao<StandardUser> implements IStandardUserDao{

	@Autowired
	private StandardUserMapper standardUserMapper;
	
	@Override
	public List<StandardUser> queryListByCargoId(String cargoId) {
		
		return standardUserMapper.queryListByCargoId(cargoId);
	}

	@Override
	public StandardUser queryModelByCargoIdAndStandardId(String cargoId,
			String standardId) {
		
		return standardUserMapper.queryModelByCargoIdAndStandardId(cargoId,standardId);
	}

}